<?php
ob_start();
//开启缓存区
 
// 启动会话
session_start();
// 配置连接数据库文件
@header("Content-Type:text/html;charset=utf-8");


// 链接数据库 加@符号抑制非致命错误 mysql对象$connect
$connect =  @mysqli_connect("localhost","root","root") or die("【链接数据库失败!】:".mysqli_connect_error());
// mysqli_set_charset 	设置编码
$charset = mysqli_set_charset($connect,'UTF8') or die("【编码不对!】:".mysqli_error($connect));
// 选择数据库
$select =  mysqli_select_db($connect, "company") or die("【数据库不对!】:".mysqli_error($connect));

$pre_ = "pre_";

require_once('helpers.php');